#ifndef QTIMAGELIST_H
#define QTIMAGELIST_H

#include <QtGui/QListWidget>

class QtImageList : public QListWidget
{
	Q_OBJECT
public:
	QtImageList(QWidget* parent = 0);
	virtual ~QtImageList();

	void addImage(const QImage& image, const QString& name);

protected:
	void dragEnterEvent(QDragEnterEvent *event);
	void dragMoveEvent(QDragMoveEvent *event);
	void dropEvent(QDropEvent *event);
	void startDrag(Qt::DropActions supportedActions);
};
#endif